using System;
using System.Collections.Generic;
using System.Linq;

namespace Granite.Xaml.Internals
{
	/// <summary>
	/// This is used for events that have a single URI field.
	/// </summary>
	public class UriEventArgs : EventArgs
	{
		readonly Uri m_Uri;

		/// <summary>
		/// Initializes a new instance of the UriEventArgs class.
		/// </summary>
		/// <param name="uri"></param>
		public UriEventArgs(Uri uri)
		{
			m_Uri = uri;
		}

		/// <summary>
		/// Uri used to invoke navigation
		/// </summary>
		public Uri Uri
		{
			get { return m_Uri; }
		}
	}
}
